package hu.arguscab.ai;

import hu.arguscab.game.State;

/**
 * A Model consist all of the state that represents the actual state of the global state (e.g. entire game.).
 * For example it consists all ships, obstacles, targets and so on.
 * 
 *  TODO: Model<GameState> ???
 * 
 * @author sharp
 */
public class Model {
	private State state;
	private float fitness;

	public Model() {
	}

	public Model(State state) {
		this.state = state;
	}

	public float getFitness() {
		return fitness;
	}

	public void setFitness(float fitness) {
		this.fitness = fitness;
	}

	public State getState() {
		return state;
	}

	public void setState(State state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return state.toString();
	}

}
